/*
* @Author: zhengquan
* @Date:   2017-06-25 11:35:27
* @Last Modified by:   zhengquan
* @Last Modified time: 2017-06-25 15:37:17
*/


/*地址部分的样式*/

.address-item,
.address-add {
    width: 200px;
    padding: 10px;
    margin: 20px 20px 0 0;
    float: left;
    border: 3px dashed #ccc;
    cursor: pointer;
}

.address-item.active {
    border: 3px dashed #c60023;
}

.address-item:hover,
.address-add:hover {
    background: #fafafa;
}

.address-item .address-title {
    border-bottom: 1px solid #ddd;
    color: #666;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
}

.address-item .address-detail {
    margin-top: 5px;
    height: 40px;
    line-height: 20px;
    overflow: hidden;
    color: #666;
}

.address-item .address-opera {
    text-align: right;
    visibility: hidden;
}

.address-item:hover .address-opera {
    visibility: visible;
}

.address-item .address-opera .link {
    margin-right: 5px;
}

.address-add .address-new {
    text-align: center;
    color: #ccc;
    height: 84px;
}

.address-add .address-new .fa {
    font-size: 50px;
    line-height: 50px;
}

.address-add .address-new .text {
    font-size: 13px;
}


/*商品清单部分*/

.product-table {
    width: 100%;
    margin: 10px 0;
    border-collapse: collapse;
}

.product-table th,
.product-table td {
    border-bottom: 1px dotted #ddd;
}

.product-table .cell-img {
    padding: 10px;
    width: 10%;
    text-align: center;
}

.product-table .cell-img .p-img {
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
}

.product-table .cell-info {
    width: 30%;
    text-align: left;
}

.product-table .cell-price {
    width: 20%;
    text-align: center;
}

.product-table .cell-count {
    width: 20%;
    text-align: center;
}

.product-table .cell-total {
    width: 20%;
    text-align: center;
}


/*订单提交*/

.submit-con {
    background: #eee;
    text-align: right;
}

.submit-con .submit-total {
    font-size: 18px;
    color: #c60023;
    font-weight: bold;
    vertical-align: middle;
}

.submit-con .order-submit {
    height: 50px;
    line-height: 50px;
    width: 100px;
    text-align: center;
}


/*model弹窗的样式*/

.model {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #eee;
    background: rgba(0, 0, 0, .4);
    z-index: 1000;
    overflow-x: hidden;
    overflow-y: auto;
}

.model .model-con {
    width: 700px;
    margin: 50px auto;
    background: #fff;
    border-radius: 4px;
}

.model .model-con .model-header {
    position: relative;
    padding: 15px;
    border-bottom: 1px solid #ccc;
}

.model .model-con .model-header .model-title {
    font-size: 14px;
}

.model .model-con .model-header .close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    padding: 10px;
}

.model .model-con .model-body {
    padding: 15px;
}


/*form 部分*/

.form .form-line {
    margin: 5px 0;
    overflow: hidden;
}

.form .form-line .label {
    display: block;
    float: left;
    width: 80px;
    text-align: right;
    height: 30px;
    line-height: 30px;
    margin-right: 10px;
    cursor: pointer;
}

.form .form-line .label .required {
    color: #c60023;
}

.form .form-line .form-item {
    padding: 0 5px;
    height: 30px;
    line-height: 30px;
    outline: none;
    margin-right: 10px;
}

.form .form-line .address-btn {
    margin-left: 90px;
    height: 30px;
    line-height: 30px;
    font-size: 13px;
}


/*错误信息*/

.err-tip {
    height: 60px;
    line-height: 60px;
    color: #f60;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background: #eee;
}
